package com.swpu.course_schedule.POJO.Course;

/**
 * 字段名	数据类型及长度
 * CA_ID	INTEGER
 * C_ID	INTEGER
 * Not null
 * TID	INTEGER
 * Not null
 * S_WEEK	INTEGER
 * Not null
 * E_WEEK	INTEGER
 * Not null
 * DAY	INTEGER
 * Not null
 * RID	INTEGER
 * Not null
 * SESSION	INTEGER
 * Not null
 * SESSION_COUNT	INTEGER
 * Not null
 */

public class CourseArrange {
    private int CA_ID;
    private int C_ID;
    private int TID;
    private int S_WEEK;
    private int E_WEEK;
    private int DAY;
    private int RID;
    private int SESSION;
    private int SESSION_COUNT;

    @Override
    public String toString() {
        return "CourseArrange{" +
                "CA_ID=" + CA_ID +
                ", C_ID=" + C_ID +
                ", TID=" + TID +
                ", S_WEEK=" + S_WEEK +
                ", E_WEEK=" + E_WEEK +
                ", DAY=" + DAY +
                ", RID=" + RID +
                ", SESSION=" + SESSION +
                ", SESSION_COUNT=" + SESSION_COUNT +
                '}';
    }

    public int getCA_ID() {
        return CA_ID;
    }

    public void setCA_ID(int CA_ID) {
        this.CA_ID = CA_ID;
    }

    public int getC_ID() {
        return C_ID;
    }

    public void setC_ID(int c_ID) {
        C_ID = c_ID;
    }

    public int getTID() {
        return TID;
    }

    public void setTID(int TID) {
        this.TID = TID;
    }

    public int getS_WEEK() {
        return S_WEEK;
    }

    public void setS_WEEK(int s_WEEK) {
        S_WEEK = s_WEEK;
    }

    public int getE_WEEK() {
        return E_WEEK;
    }

    public void setE_WEEK(int e_WEEK) {
        E_WEEK = e_WEEK;
    }

    public int getDAY() {
        return DAY;
    }

    public void setDAY(int DAY) {
        this.DAY = DAY;
    }

    public int getRID() {
        return RID;
    }

    public void setRID(int RID) {
        this.RID = RID;
    }

    public int getSESSION() {
        return SESSION;
    }

    public void setSESSION(int SESSION) {
        this.SESSION = SESSION;
    }

    public int getSESSION_COUNT() {
        return SESSION_COUNT;
    }

    public void setSESSION_COUNT(int SESSION_COUNT) {
        this.SESSION_COUNT = SESSION_COUNT;
    }

    public CourseArrange(int CA_ID, int c_ID, int TID, int s_WEEK, int e_WEEK,
                         int DAY, int RID, int SESSION, int SESSION_COUNT) {
        this.CA_ID = CA_ID;
        C_ID = c_ID;
        this.TID = TID;
        S_WEEK = s_WEEK;
        E_WEEK = e_WEEK;
        this.DAY = DAY;
        this.RID = RID;
        this.SESSION = SESSION;
        this.SESSION_COUNT = SESSION_COUNT;
    }
}
